package com.ruoyi.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车型对象 car_type
 * 
 * @author lyp
 * @date 2024-09-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CarType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    @TableId
    private Long id;

    /** 所属品牌 */
    @Excel(name = "所属品牌")
    private Long bid;

    /** 车型名称 */
    @Excel(name = "车型")
    private String typeName;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 删除状态 */
    @TableLogic
    private Long deleted;

    @TableField(exist = false)
    private CarBrand carBrand;

}
